Skip to content

Fix size check for QUIC_HANDSHAKE_INFO#5219

Merged
guhetier merged 1 commit into
microsoft:mainfrom
nhorman:5217
Jul 31, 2025
Merged

Fix size check for QUIC_HANDSHAKE_INFO#5219
guhetier merged 1 commit into
microsoft:mainfrom
nhorman:5217

Conversation

@nhorman

@nhorman nhorman commented Jul 2, 2025

Copy link
Copy Markdown
Contributor

Size checks on QUIC_HANDSHAKE_INFO need to take into account backward compatibility, as some prior versions were a shorter length. Quictls and schannel account for this but openssl does not.

Fix that up

Fixes #5217

Size checks on QUIC_HANDSHAKE_INFO need to take into account backward
compatibility, as some prior versions were a shorter length.  Quictls
and schannel account for this but openssl does not.

Fix that up

Fixes microsoft#5217
@nhorman
nhorman requested a review from a team as a code owner July 2, 2025 16:28

@guhetier guhetier left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

Ideally, we should add a test to validate we don't regress this in the future (or onboard OpenSSL to our test passes, I can't remember right now if it has been done?)

@nhorman

nhorman commented Jul 2, 2025

Copy link
Copy Markdown
Contributor Author

@guhetier It has, or at least its part of the CI. There may be missing test cases I'm unaware of however

@guhetier

guhetier commented Jul 2, 2025

Copy link
Copy Markdown
Collaborator

@guhetier It has, or at least its part of the CI. There may be missing test cases I'm unaware of however

Good to know, thanks! We might have to follow up to add a test case for querying the TLS params with various buffer sizes in that case.

@guhetier guhetier self-assigned this Jul 2, 2025
@guhetier
guhetier merged commit 2a41997 into microsoft:main Jul 31, 2025
531 of 545 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[API] OpenSSL 3.5 QUIC_HANDSHAKE_INFO

2 participants